package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysTenantApplication;

/**
 * 租户子系统中间Service接口
 * 
 * @author kuaidou
 * @date 2021-08-23
 */
public interface ISysTenantApplicationService 
{
    /**
     * 查询租户子系统中间
     * 
     * @param tenantCode 租户子系统中间主键
     * @return 租户子系统中间
     */
    public List<SysTenantApplication> selectSysTenantApplicationByTenantCode(String tenantCode);

    /**
     * 查询租户子系统中间列表
     * 
     * @param sysTenantApplication 租户子系统中间
     * @return 租户子系统中间集合
     */
    public List<SysTenantApplication> selectSysTenantApplicationList(SysTenantApplication sysTenantApplication);

    /**
     * 新增租户子系统中间
     * 
     * @param sysTenantApplication 租户子系统中间
     * @return 结果
     */
    public int insertSysTenantApplication(SysTenantApplication sysTenantApplication);

    /**
     * 修改租户子系统中间
     * 
     * @param sysTenantApplication 租户子系统中间
     * @return 结果
     */
    public int updateSysTenantApplication(SysTenantApplication sysTenantApplication);

    /**
     * 批量删除租户子系统中间
     * 
     * @param tenantCodes 需要删除的租户子系统中间主键集合
     * @return 结果
     */
    public int deleteSysTenantApplicationByTenantCodes(String tenantCodes);

    /**
     * 删除租户子系统中间信息
     * 
     * @param tenantCode 租户子系统中间主键
     * @return 结果
     */
    public int deleteSysTenantApplicationByTenantCode(String tenantCode);
}
